Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESLint no-default-exports 8 #2170

Merged

Conversation

joel-jeremy
Copy link
Contributor

The number of files changed should go down once the previous parts gets merged.

Copy link

netlify bot commented Jan 4, 2024

Deploy Preview for actualbudget ready!

Name Link
🔨 Latest commit c6a7e4c
🔍 Latest deploy log https://app.netlify.com/sites/actualbudget/deploys/6599b02379ca910007306f78
😎 Deploy Preview https://deploy-preview-2170.demo.actualbudget.org
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

github-actions bot commented Jan 4, 2024

Bundle Stats — desktop-client

Hey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle.

As this PR is updated, I'll keep you updated on how the bundle size is impacted.

Total

Files count Total bundle size % Changed
15 3.09 MB → 3.09 MB (-487 B) -0.02%
Changeset (largest 100 files by percent change)
File Δ Size
src/components/schedules/ScheduleDetails.jsx 🆕 +38.4 kB 0 B → 38.4 kB
src/components/schedules/ScheduleLink.tsx 🆕 +3.13 kB 0 B → 3.13 kB
src/components/reports/ReportRouter.jsx 📈 +24 B (+1.68%) 1.39 kB → 1.42 kB
src/components/reports/reports/SankeyCard.jsx 📈 +25 B (+1.04%) 2.35 kB → 2.38 kB
src/components/Modals.tsx 📈 +115 B (+0.94%) 11.98 kB → 12.09 kB
src/components/manager/Modals.jsx 📈 +24 B (+0.72%) 3.26 kB → 3.29 kB
src/components/payees/ManagePayeesPage.jsx 📈 +4 B (+0.69%) 582 B → 586 B
src/components/reports/reports/CustomReportCard.jsx 📈 +19 B (+0.67%) 2.76 kB → 2.78 kB
src/components/reports/reports/NetWorthCard.jsx 📈 +27 B (+0.56%) 4.74 kB → 4.76 kB
src/components/reports/reports/CategorySpendingCard.jsx 📈 +15 B (+0.55%) 2.66 kB → 2.67 kB
src/components/reports/reports/Sankey.jsx 📈 +29 B (+0.54%) 5.21 kB → 5.24 kB
src/components/reports/Overview.jsx 📈 +12 B (+0.47%) 2.51 kB → 2.52 kB
src/components/reports/reports/CustomReport.jsx 📈 +73 B (+0.43%) 16.64 kB → 16.71 kB
src/components/reports/ChooseGraph.tsx 📈 +19 B (+0.42%) 4.46 kB → 4.48 kB
src/components/reports/reports/NetWorth.jsx 📈 +23 B (+0.35%) 6.35 kB → 6.38 kB
src/components/manager/ManagementApp.jsx 📈 +28 B (+0.26%) 10.51 kB → 10.54 kB
src/components/reports/reports/CategorySpending.jsx 📈 +15 B (+0.23%) 6.32 kB → 6.33 kB
src/components/reports/spreadsheets/default-spreadsheet.ts 📈 +8 B (+0.18%) 4.45 kB → 4.46 kB
src/components/reports/reports/CashFlow.tsx 📈 +8 B (+0.09%) 8.47 kB → 8.48 kB
src/components/payees/ManagePayees.jsx 📈 +8 B (+0.07%) 11.21 kB → 11.22 kB
src/components/reports/reports/CashFlowCard.jsx 📈 +6 B (+0.07%) 8.89 kB → 8.89 kB
src/components/App.tsx 📈 +4 B (+0.06%) 6.15 kB → 6.16 kB
src/components/reports/ReportTopbar.jsx 📈 +4 B (+0.06%) 6.51 kB → 6.51 kB
src/components/FinancesApp.tsx 📈 +8 B (+0.05%) 15.2 kB → 15.21 kB
src/components/reports/ReportSidebar.jsx 📈 +8 B (+0.04%) 19.41 kB → 19.42 kB
src/components/filters/FiltersMenu.jsx 📈 +8 B (+0.03%) 24.33 kB → 24.34 kB
src/components/modals/ImportTransactions.jsx 📉 -8 B (-0.02%) 46.02 kB → 46.01 kB
src/components/modals/EditRule.jsx 📉 -8 B (-0.02%) 36.57 kB → 36.56 kB
src/components/reports/CategorySelector.tsx 📉 -4 B (-0.04%) 11.09 kB → 11.08 kB
src/components/modals/GoCardlessExternalMsg.tsx 📉 -8 B (-0.06%) 13.11 kB → 13.11 kB
src/components/manager/BudgetList.jsx 📉 -8 B (-0.07%) 11.53 kB → 11.52 kB
src/components/reports/graphs/BarGraph.tsx 📉 -6 B (-0.07%) 7.97 kB → 7.97 kB
src/components/modals/CreateEncryptionKey.tsx 📉 -8 B (-0.07%) 10.62 kB → 10.61 kB
src/components/modals/EditField.jsx 📉 -8 B (-0.08%) 9.79 kB → 9.78 kB
src/components/modals/MergeUnusedPayees.jsx 📉 -8 B (-0.08%) 9.33 kB → 9.33 kB
src/components/modals/CategoryGroupMenu.tsx 📉 -8 B (-0.09%) 8.76 kB → 8.75 kB
src/components/schedules/DiscoverSchedules.tsx 📉 -8 B (-0.09%) 8.42 kB → 8.41 kB
src/components/modals/SelectLinkedAccounts.jsx 📉 -8 B (-0.10%) 7.78 kB → 7.77 kB
src/components/modals/FixEncryptionKey.tsx 📉 -8 B (-0.10%) 7.68 kB → 7.68 kB
src/components/reports/spreadsheets/sankey-spreadsheet.ts 📉 -8 B (-0.10%) 7.58 kB → 7.57 kB
src/components/manager/ConfigServer.tsx 📉 -8 B (-0.11%) 7.33 kB → 7.32 kB
src/components/modals/CategoryMenu.tsx 📉 -8 B (-0.11%) 7.24 kB → 7.23 kB
src/components/modals/CreateAccount.tsx 📉 -8 B (-0.11%) 6.84 kB → 6.83 kB
src/components/mobile/MobileNavTabs.tsx 📉 -8 B (-0.12%) 6.32 kB → 6.31 kB
src/components/reports/graphs/AreaGraph.tsx 📉 -11 B (-0.13%) 8.44 kB → 8.43 kB
src/components/reports/ReportTableList.tsx 📉 -8 B (-0.13%) 6.01 kB → 6.01 kB
src/components/manager/DeleteFile.tsx 📉 -8 B (-0.14%) 5.7 kB → 5.69 kB
src/components/modals/PlaidExternalMsg.tsx 📉 -8 B (-0.14%) 5.68 kB → 5.67 kB
src/components/reports/spreadsheets/category-spending-spreadsheet.tsx 📉 -8 B (-0.14%) 5.59 kB → 5.59 kB
src/components/modals/ConfirmCategoryDelete.tsx 📉 -8 B (-0.15%) 5.37 kB → 5.36 kB
src/components/payees/ManagePayeesWithData.jsx 📉 -8 B (-0.15%) 5.13 kB → 5.12 kB
src/components/reports/spreadsheets/net-worth-spreadsheet.ts 📉 -8 B (-0.17%) 4.64 kB → 4.63 kB
src/components/manager/subscribe/Login.tsx 📉 -8 B (-0.18%) 4.26 kB → 4.25 kB
src/components/reports/graphs/NetWorthGraph.tsx 📉 -15 B (-0.18%) 7.93 kB → 7.91 kB
src/components/schedules/PostsOfflineNotification.jsx 📉 -8 B (-0.20%) 4 kB → 3.99 kB
src/components/schedules/index.tsx 📉 -8 B (-0.20%) 3.9 kB → 3.9 kB
src/components/manager/WelcomeScreen.tsx 📉 -8 B (-0.20%) 3.84 kB → 3.83 kB
src/components/manager/ImportActual.tsx 📉 -10 B (-0.21%) 4.73 kB → 4.72 kB
src/components/manager/subscribe/Bootstrap.tsx 📉 -8 B (-0.21%) 3.75 kB → 3.74 kB
src/components/modals/CloseAccount.tsx 📉 -22 B (-0.22%) 9.85 kB → 9.83 kB
src/components/reports/graphs/LineGraph.tsx 📉 -11 B (-0.22%) 4.89 kB → 4.88 kB
src/components/reports/graphs/StackedBarGraph.tsx 📉 -13 B (-0.22%) 5.78 kB → 5.77 kB
src/components/reports/Header.jsx 📉 -16 B (-0.23%) 6.88 kB → 6.87 kB
src/components/modals/Notes.tsx 📉 -8 B (-0.24%) 3.23 kB → 3.22 kB
src/components/manager/subscribe/ChangePassword.tsx 📉 -8 B (-0.25%) 3.09 kB → 3.08 kB
src/components/manager/ImportYNAB5.tsx 📉 -11 B (-0.25%) 4.24 kB → 4.23 kB
src/components/manager/ImportYNAB4.tsx 📉 -11 B (-0.25%) 4.24 kB → 4.22 kB
src/components/reports/graphs/BarLineGraph.tsx 📉 -14 B (-0.27%) 5.15 kB → 5.14 kB
src/components/reports/graphs/SankeyGraph.tsx 📉 -13 B (-0.30%) 4.27 kB → 4.26 kB
src/components/modals/CreateLocalAccount.tsx 📉 -28 B (-0.31%) 8.86 kB → 8.84 kB
src/components/modals/LoadBackup.jsx 📉 -20 B (-0.31%) 6.3 kB → 6.28 kB
src/components/modals/SwitchBudgetType.tsx 📉 -8 B (-0.31%) 2.51 kB → 2.51 kB
src/components/reports/graphs/DonutGraph.tsx 📉 -16 B (-0.32%) 4.87 kB → 4.85 kB
src/components/manager/Import.tsx 📉 -16 B (-0.33%) 4.79 kB → 4.78 kB
src/components/modals/ReportBudgetSummary.tsx 📉 -8 B (-0.38%) 2.08 kB → 2.07 kB
src/components/payees/PayeeMenu.tsx 📉 -8 B (-0.38%) 2.03 kB → 2.02 kB
src/components/modals/RolloverBudgetSummary.tsx 📉 -8 B (-0.40%) 1.95 kB → 1.94 kB
src/components/reports/ReportSummary.tsx 📉 -23 B (-0.47%) 4.8 kB → 4.78 kB
src/components/reports/graphs/CashFlowGraph.tsx 📉 -15 B (-0.53%) 2.77 kB → 2.76 kB
src/components/manager/subscribe/Error.tsx 📉 -8 B (-0.53%) 1.48 kB → 1.47 kB
src/components/payees/PayeeTableRow.tsx 📉 -23 B (-0.54%) 4.17 kB → 4.15 kB
src/components/reports/spreadsheets/grouped-spreadsheet.ts 📉 -22 B (-0.56%) 3.86 kB → 3.84 kB
src/components/reports/ReportTableTotals.tsx 📉 -27 B (-0.59%) 4.49 kB → 4.46 kB
src/components/manager/ServerURL.tsx 📉 -8 B (-0.59%) 1.32 kB → 1.31 kB
src/components/modals/SingleInput.tsx 📉 -21 B (-0.61%) 3.36 kB → 3.34 kB
src/components/reports/ReportCard.tsx 📉 -8 B (-0.67%) 1.17 kB → 1.16 kB
src/components/reports/ReportTable.tsx 📉 -8 B (-0.69%) 1.14 kB → 1.13 kB
src/components/reports/Tooltip.jsx 📉 -17 B (-0.69%) 2.42 kB → 2.4 kB
src/components/reports/spreadsheets/makeQuery.ts 📉 -19 B (-0.69%) 2.69 kB → 2.67 kB
src/components/modals/GoCardlessInitialise.tsx 📉 -30 B (-0.69%) 4.22 kB → 4.19 kB
src/components/modals/ManageRulesModal.tsx 📉 -8 B (-0.70%) 1.12 kB → 1.11 kB
src/components/reports/graphs/CategorySpendingGraph.tsx 📉 -23 B (-0.81%) 2.77 kB → 2.75 kB
src/components/reports/Container.tsx 📉 -8 B (-0.84%) 957 B → 949 B
src/components/reports/ReportTableHeader.tsx 📉 -27 B (-0.85%) 3.08 kB → 3.06 kB
src/components/gocardless/GoCardlessLink.tsx 📉 -8 B (-0.86%) 934 B → 926 B
src/components/payees/PayeeTable.tsx 📉 -16 B (-0.87%) 1.8 kB → 1.78 kB
src/components/modals/ConfirmTransactionEdit.tsx 📉 -32 B (-0.94%) 3.32 kB → 3.29 kB
src/components/reports/ReportLegend.tsx 📉 -22 B (-1.02%) 2.1 kB → 2.08 kB
src/components/reports/spreadsheets/recalculate.ts 📉 -17 B (-1.03%) 1.62 kB → 1.6 kB
src/components/reports/index.tsx 📉 -8 B (-1.48%) 541 B → 533 B
View detailed bundle breakdown

Added

No assets were added

Removed

No assets were removed

Bigger

No assets were bigger

Smaller

Asset File Size % Changed
static/js/reports.chunk.js 78.28 kB → 77.93 kB (-356 B) -0.44%
static/js/main.js 1.43 MB → 1.43 MB (-115 B) -0.01%
static/js/553.chunk.js 28.58 kB → 28.56 kB (-16 B) -0.05%

Unchanged

Asset File Size % Changed
static/js/665.chunk.js 824.28 kB 0%
static/media/Inter-italic.var.woff2 239.29 kB 0%
static/media/Inter-roman.var.woff2 221.86 kB 0%
static/js/231.chunk.js 117.38 kB 0%
static/js/wide-components.chunk.js 112.99 kB 0%
static/js/narrow-components.chunk.js 45.18 kB 0%
static/js/473.chunk.js 13 kB 0%
static/js/resize-observer-polyfill.chunk.js 8.88 kB 0%
static/css/main.css 7.41 kB 0%
asset-manifest.json 1.92 kB 0%
index.html 1.66 kB 0%
static/media/browser-server.js 911 B 0%

Copy link
Contributor

github-actions bot commented Jan 4, 2024

Bundle Stats — loot-core

Hey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle.

As this PR is updated, I'll keep you updated on how the bundle size is impacted.

Total

Files count Total bundle size % Changed
2 2.23 MB 0%

Changeset

No files were changed

View detailed bundle breakdown

Added

No assets were added

Removed

No assets were removed

Bigger

No assets were bigger

Smaller

No assets were smaller

Unchanged

Asset File Size % Changed
kcab.worker.js 1.24 MB 0%
xfo.xfo.kcab.worker.js 1014.46 kB 0%

@joel-jeremy joel-jeremy changed the title Eslint no default exports 8 ESLint no-default-exports 8 Jan 4, 2024
@joel-jeremy joel-jeremy force-pushed the eslint-no-default-exports-8 branch 3 times, most recently from 10ff1ba to c6a7e4c Compare January 6, 2024 19:55
@@ -26,7 +26,7 @@ type ImportProps = {
modalProps?: ModalProps;
};

function Import({ modalProps }: ImportProps) {
export function ImportYNAB5({ modalProps }: ImportProps) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💭 thought: ‏I wonder if there is an eslint rule we could add that would enforce the exported component to use the same name as the file.

@joel-jeremy joel-jeremy merged commit 8e1c11e into actualbudget:master Jan 6, 2024
19 checks passed
@trafico-bot trafico-bot bot added ✨ Merged Pull Request has been merged successfully and removed ✅ Approved labels Jan 6, 2024
FlorianLang06 pushed a commit to FlorianLang06/actual that referenced this pull request Mar 7, 2024
* Fix default imports

* Fix manager Modals import

* ESLint no default exports 8

* Release notes

* Schedules
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ Merged Pull Request has been merged successfully
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants